Merged
Conversation
wlawt
commented
Jan 5, 2026
7bb290c to
d852680
Compare
wlawt
commented
Jan 5, 2026
d852680 to
67204a6
Compare
* chore: use uuid v5 for determinism * feat: add ttl * diffs * fix: in-flight archive task * Revert "fix: in-flight archive task" This reverts commit a759f2b. * tmp: clear backlog by nooping * chore: log out meterbundleres
39a87b4 to
9b0ec57
Compare
danyalprout
approved these changes
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Observations
archive_eventwe performedupdate_bundle_historyandupdate_tx_by_hashsequentially and blocked on each operation resulting in the duration being upwards of 600ms.Changes
Create a fixed number of workers (80) and do the updating in parallel
update_bundle_historyworst case took ~500ms and same forupdate_tx_by_hash. we can do this updating in parallelA fixed worker pool avoids resource exhaustion and provides backpressure via a bounded channel
Results
archive_event_durationwas 3.02ms, previous was 5.27ms.TODO:
test_userop_kafka_publisher_reader_integrationtest failing (nvm docker wasnt running)